Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stonecrop] use Vitest workspaces #107

Merged
merged 2 commits into from
Apr 17, 2024
Merged

Conversation

Alchez
Copy link
Collaborator

@Alchez Alchez commented Apr 17, 2024

Fixes #106.

Copy link
Contributor

github-actions bot commented Apr 17, 2024

Coverage Report for ./aform

Status Category Percentage Covered / Total
🔴 Lines 54.32% (🎯 70%) 622 / 1145
🔴 Statements 54.32% (🎯 70%) 622 / 1145
🔴 Functions 57.14% (🎯 70%) 24 / 42
🟢 Branches 70% (🎯 70%) 35 / 50
File Coverage
File Stmts % Branch % Funcs % Lines Uncovered Lines
Changed Files
aform/src/components/AForm.vue 92.4% 80% 83.33% 92.4% 41-44, 66-67
Unchanged Files
aform/src/index.ts 0% 0% 0% 0% 1-27
aform/src/components/base/CollapseButton.vue 0% 0% 0% 0% 1-36
aform/src/components/form/ACheckbox.vue 100% 100% 100% 100%
aform/src/components/form/AComboBox.vue 0% 0% 0% 0% 1-13
aform/src/components/form/ADate.vue 0% 0% 0% 0% 1-277
aform/src/components/form/ADropdown.vue 85.43% 89.47% 50% 85.43% 68-70, 77-78, 92-93, 99-103, 108-109, 114-117, 119-122, 124-127, 129-132
aform/src/components/form/AFieldset.vue 0% 0% 0% 0% 1-63
aform/src/components/form/ANumericInput.vue 100% 100% 100% 100%
aform/src/components/form/ATextInput.vue 100% 80% 100% 100%
aform/src/directives/mask.ts 31.73% 28.57% 40% 31.73% 13-22, 28-34, 40-41, 47-60, 62-78, 83-103
Generated in workflow #117

Copy link
Contributor

github-actions bot commented Apr 17, 2024

Coverage Report for ./atable

Status Category Percentage Covered / Total
🔴 Lines 68% (🎯 70%) 595 / 875
🔴 Statements 68% (🎯 70%) 595 / 875
🔴 Functions 56.52% (🎯 70%) 13 / 23
🔴 Branches 46.29% (🎯 70%) 25 / 54
File Coverage
File Stmts % Branch % Funcs % Lines Uncovered Lines
Changed Files
atable/src/components/ATable.vue 67.61% 50% 33.33% 67.61% 101-140, 149-155, 159-179
Unchanged Files
atable/src/index.ts 0% 0% 0% 0% 1-20
atable/src/components/ACell.vue 82.62% 38.09% 75% 82.62% 19-21, 59-65, 74-76, 79-81, 84-94, 110-114, 144-147, 165
atable/src/components/AExpansionRow.vue 0% 0% 0% 0% 1-88
atable/src/components/ARow.vue 65.51% 20% 25% 65.51% 6-12, 46-67, 72-73, 78-79, 82-88
atable/src/components/ATableHeader.vue 98.33% 28.57% 100% 98.33% 1
atable/src/components/ATableModal.vue 96% 100% 0% 96% 21-22
atable/src/components/index.ts 79.66% 84.61% 87.5% 79.66% 47-54, 61-62, 104-117
Generated in workflow #117

@Alchez Alchez force-pushed the feat-vitest-workspace branch 3 times, most recently from 0d79d8c to 2a249ac Compare April 17, 2024 05:55
@Alchez Alchez requested a review from agritheory April 17, 2024 05:56
@Alchez Alchez marked this pull request as ready for review April 17, 2024 05:56
@Alchez Alchez force-pushed the feat-vitest-workspace branch from 2a249ac to 8009b04 Compare April 17, 2024 06:00
Copy link
Owner

@agritheory agritheory left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's increase the target percentages to 70% and add new tickets for the low hanging fruit. Adding those tests does not need to be part of this PR.

@Alchez
Copy link
Collaborator Author

Alchez commented Apr 17, 2024

@agritheory, I've created a ticket at #108 for this. I can look into it soon.

@Alchez Alchez requested a review from agritheory April 17, 2024 12:53
@agritheory agritheory merged commit 6b7dd14 into development Apr 17, 2024
4 of 6 checks passed
@agritheory agritheory deleted the feat-vitest-workspace branch April 17, 2024 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[project] Vitest coverage only shows one (random) package in report
2 participants